package com.gitee.simons.common.tree;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author jsm
 * @date 2018/12/12 18:14
 * @Description
 */
@Getter
@Setter
public class StrTreeModel {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     * <pre>
     * id
     * </pre>
     */
    private String id;

    /**
     * <pre>
     * 父资源编号
     * </pre>
     *
     */
    @ApiModelProperty("父资源编号")
    private String parentId;

    /**
     * <pre>
     * 资源编码
     * </pre>
     *
     */
    @ApiModelProperty("资源编码")
    private String name;

    /**
     * <pre>
     * 权重值
     * </pre>
     *
     */
    @ApiModelProperty("权重值")
    private Long seq;

    @ApiModelProperty("子菜单")
    private List<StrTreeModel> children;

    @ApiModelProperty("url")
    private String url;
}
